/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.middleware.redis.message.service;

import org.springframework.stereotype.Service;

/**
 * Redis消息推送-接收者
 * 定义接收消息的通用方法
 *
 * @author duanlikao
 * @created 2021/8/14
 */
@Service("BaseAbstraclListener")
public interface BaseAbstraclListener {

    /**
     * 接收消息
     * @param jsonMessage  json字符
     */
    boolean receiveMessage(String jsonMessage);

}
